<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="CunhuoNavCtrl"></ul>
<div class="set_box">
<h1 class="set_title"><!--调拨单详情-->{{language.TIPS_INVENTORY_ALLOT_ORDER_DETAIL}}
	<span class="title_btn_group"> 
		<a class="title_btn" href="javascript:void(0);" ng-click="come_back();"><!--关闭-->{{language.ACT_CLOSE}}</a>
		<a class="title_btn" href="javascript:void(0);" ng-click="execute();" ng-show = "is_execute"><!--执行-->{{language.ACT_EXECUTE}}</a>
    <!--added by lqx maowei on 20170209 调拨申请单详情打印按钮-->
    <a class="title_btn" href="javascript:void(0);" ng-click="to_print_diaoboshenqingdetail();">{{language.TIPS_INVENTORY_DOC_PRINT}}</a>
	</span>
</h1>
<div class="set_cont detail_page" ng-swipe-right="come_back();">
  <form class="detail_form">
	<p class="title">
		<!--调拨-->{{language.TIPS_INVENTORY_ALLOT}}：{{diaobo_list_detail.stm_store_shift_record.record_code}}
	</p>	
  <table class="detail_table">
    <tr>
      <td class="name"><!--日期-->{{language.TIPS_INVENTORY_DATE}}：</td>
      <td class="val">{{diaobo_list_detail.stm_store_shift_record.record_time}}</td>
      <td class="name"><!--移入仓库-->{{language.TIPS_INVENTORY_INTO_WAREHOUSSE}}：</td>
      <td class="val">{{diaobo_list_detail.stm_store_shift_record.shift_in_shop_name}}</td>
    </tr>
    <tr>
      <td class="name"><!--来源单号-->{{language.TIPS_INVENTORY_NUMBER_SOURCE}}：</td>
      <td class="val">{{diaobo_list_detail.stm_store_shift_record.init_code}}</td>
      <td class="name"><!--移出仓库-->{{language.TIPS_INVENTORY_OUT_WAREHOUSSE}}：</td>
      <td class="val">{{diaobo_list_detail.stm_store_shift_record.shift_out_shop_name}}</td>
    </tr>
    <tr>
      <td class="name"><!--数量-->{{language.TIPS_INVENTORY_NUM}}：</td>
      <td class="val">{{diaobo_list_detail.stm_store_shift_record.num}}</td>
      <td class="name"><!--总价-->{{language.TIPS_INVENTORY_TOTAL_PRICE}}：</td>
      <td class="val">{{diaobo_list_detail.stm_store_shift_record.money|number:2}}</td>
    </tr>
    <tr>
      <td class="name"><!--备注-->{{language.TIPS_INVENTORY_REMARK}}：</td>
      <td class="val">{{diaobo_list_detail.stm_store_shift_record.remark}}</td>
      <td class="name"><!--更新时间-->{{language.TIPS_INVENTORY_UPDATE_TIME}}：</td>
      <td class="val">{{diaobo_list_detail.stm_store_shift_record.lastchanged}}</td>
    </tr>
  </table>
</form>
<form class="detail_form">
	<p class="title">
		<!--商品明细-->{{language.TIPS_INVENTORY_DETAILED}}
	</p>  
  <table class="goods_table">
    <tr>
      <th>sku</th>
      <th><!--名称-->{{language.TIPS_INVENTORY_NAME}}</th>
      <th><!--数量-->{{language.TIPS_INVENTORY_NUM}}</th>
      <th><!--单价-->{{language.TIPS_INVENTORY_UNIT_PRICE}}</th>
      <th><!--总价-->{{language.TIPS_INVENTORY_TOTAL_PRICE}}</th>
    </tr>
    <tr ng-repeat="p in diaobo_list_detail.stm_store_shift_record.stm_store_shift_record_detaill">
      <td>{{p.sku}}</td>
      <td>{{p| language_filter_show:'GoodsName'}}</td>
      <td>{{p.num}}</td>
      <td>{{p.price|number:2}}</td>
      <td>{{p.money|number:2}}</td>
    </tr>
  </table>
  </form>
 
</div>
</div>
